AMem\Restriction D

Total Complexity 139
Dependencies 0
Dependents 0
Total lines 753
Lines of code 545
Logical lines of code 288
Comment lines 57
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
maybe_redirect_restricted()
A
47 16 32
get_post_rule()
A
44 14 46
maybe_restirct_post_content()
A
45 14 41
is_restricted_by_rule()
A
48 14 38
is_restricted_term()
A
47 13 36
is_restricted()
A
48 13 34
render_meta_box()
A
33 3 142
get_term_rule()
A
51 10 26
maybe_restrict_post_excerpt()
A
56 8 18
check_user_role()
S
58 6 15
__construct()
S
54 5 19
verify_save_rule()
S
63 5 10
register_term_actions()
S
62 3 11
render_term_meta_box()
S
56 1 17
save_post()
S
69 2 6
ignore_core_pages()
S
71 2 6
save_term()
S
69 2 6
add_meta_box()
S
69 2 6
taxonomies()
S
75 1 4
post_types()
S
75 1 4
get_the_excerpt()
S
63 1 10
remove_excerpt_more()
S
83 1 3
validate_rule()
S
64 1 10
render_post_meta_box()
S
71 1 5